package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.dto.ExamineDto;
import com.csun.cmny.provider.pojo.ExamineExample;
import com.csun.cmny.provider.vo.ExamineManVo;
import com.csun.cmny.provider.vo.ExamineVo;
import org.apache.ibatis.annotations.Param;


import java.util.List;
import java.util.Map;

public interface ExamineMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ExamineDto record);

    int insertSelective(ExamineDto record);

    ExamineDto selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ExamineDto record);

    int updateByPrimaryKey(ExamineDto record);

    ExamineVo  selectByPrimaryKey(ExamineDto record);

    List<ExamineVo> selectByoldmanId(Integer oldmanid);

    //组合条件查询评估记录
    List<ExamineVo> examineShowAll(Map<String, Object> queryParam);

    List<ExamineManVo> selectOldmans(Integer homeid);
}